package cn.bsuc.crm.entity;

import cn.bsuc.crm.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 客户交往记录表
 */
@Data
@TableName("t_customer_contact")
public class CustomerContact extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer cusId;  // 客户 id

    private LocalDateTime contactTime; // 交往时间

    private String address; // 交往地址

    private String overview; // (地址)？

    private Integer isValid;


}
